package com.yuanfeng.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.business.dto.ShopClassBindDTO;
import com.yuanfeng.business.entity.ShopClassBindEntity;
import com.yuanfeng.commoms.util.ResponseResult;

import java.util.Map;

/**
 * @ClassName ShopClassBindService
 * @Description  店铺经营类目-更新绑定类目时备份-孟响-19/04/16

 * @Author cyp
 * @Date 2023-07-04 16:30:05
 * @Version 1.0
 **/
public interface ShopClassBindService extends IService<ShopClassBindEntity> {

    /**
     * 判断 当前商家的经营类目是否允许同步该商品
     * @param pram
     * @return
     */
    ResponseResult verifyBusinessCategory(Map<String, Object> pram);


    /**
     * 删除经营类目申请
     *
     * @param param
     * @return
     */
    ResponseResult deleteShopClassBindList(ShopClassBindDTO param);



    /**
     * 更新店铺经营类目
     *
     * @param param
     * @return
     */
    ResponseResult updateSupplyShopCats(ShopClassBindDTO param);


    /**
     * 查询店铺经营类目
     *
     * @param param
     * @return
     */
   ResponseResult queryShopClassBindList(ShopClassBindDTO param) throws IllegalAccessException;

    /**
     * 删除绑定的入驻分类
     *
     * @param productClassId
     * @return
     */
    ResponseResult deleteBindGoodsCat(Integer productClassId);

}
